{% extends 'base.html' %}
{% block header %}新增资费包{% endblock %}
{% block content %}
<h2>新增资费包</h2>
<form method="post">
    {% csrf_token %}
    <div class="form-group">
        <label for="name">名称</label>
        <input type="text" name="name" id="name" class="form-control" required>
    </div>
    <div class="form-group">
        <label for="description">描述</label>
        <textarea name="description" id="description" class="form-control"></textarea>
    </div>
    <div class="form-group">
        <label for="price">价格</label>
        <input type="number" name="price" id="price" class="form-control" step="0.01" required>
    </div>
    <div class="form-group">
        <label for="remark">备注</label>
        <input type="text" name="remark" id="remark" class="form-control">
    </div>
    <button type="submit" class="btn btn-success">提交</button>
    <a href="/package/" class="btn btn-secondary">取消</a>
</form>
{% endblock %}
